﻿using Bricks.Component.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Bricks.Business.Models.BidManagement
{
    /// <summary>
    /// 招标（每个项目下可能有多个招标，此处通过项目ID进行关联）
    /// </summary>
    [Description("招标")]
    public partial class BidInfo : EntityBase<Guid>
    {
        public BidInfo()
        {
            ID = GuidHelper.NewGuid();
        }

        [Display(Name = "项目ID")]
        public Guid ProjectID { get; set; }

        [Display(Name = "登记人")]
        public Guid RegisterUserID { get; set; }

        [StringLength(64)]
        [Display(Name = "登记日期")]
        public string RegisterDate { get; set; }

        [StringLength(64)]
        [Display(Name = "招标日期")]
        public string BidDate { get; set; }

        [StringLength(64)]
        [Display(Name = "招标形式")]
        public string BidType { get; set; }

        [StringLength(64)]
        [Display(Name = "招标代理")]
        public string BidAgent { get; set; }

        [StringLength(64)]
        [Display(Name = "招标联系人")]
        public string BidContactPerson { get; set; }

        [StringLength(64)]
        [Display(Name = "招标联系电话")]
        public string BidContactTel { get; set; }

        [StringLength(256)]
        [Display(Name = "招标标题")]
        public string BidTitle { get; set; }

        [Display(Name = "招标描述")]
        public string BidDescription { get; set; }
    }
}
